.home-container {
    padding: 16px;
    font-family: sans-serif;
    color: #333;
    .group-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      background-color: rgb(255, 255, 255);
      .group-name {
        font-size: 18px;
        font-weight: bold;
        color: #333;
      }
      .power-icon {
        width: 24px;
        height: 24px;
        background-color: green;
        border-radius: 50%;
        cursor: pointer;
        &.off {
          background-color: gray;
        }
      }
    }

    .dim-level {
      display: flex;
      justify-content: space-between;
      margin: 10px 0;

      .label {
        font-weight: 500;
      }
      .value-boxes {
        display: flex;
        gap: 6px;

        .box {
          padding: 4px 8px;
          border: 1px solid #ccc;
          border-radius: 4px;
        }
        .blue {
          background-color: #007bff;
          color: rgb(0, 0, 0);
        }
      }
    }

    .cct-title {
      margin-top: 12px;
      font-weight: 500;
    }

    .slider {
      width: 100%;
      margin: 8px 0;
    }

    .cct-buttons {
      display: flex;
      gap: 8px;
      margin-bottom: 12px;

      .cct-btn {
        flex: 1;
        padding: 6px;
        border: 1px solid #ccc;
        border-radius: 6px;
        background-color: #eee;
        cursor: pointer;
        &.active {
          background-color: #007bff;
          color: white;
          border-color: #007bff;
        }
      }
    }

    .motion-section, .daylight-section, .dh-section {
      margin-top: 20px;

      .motion-header, .daylight-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-weight: 500;
      }

      .motion-icon {
        width: 16px;
        height: 16px;
        //background: url('motion-icon.png') no-repeat center;
        background-size: cover;
      }

      .setting-item {
        margin-top: 10px;
        display: flex;
        justify-content: space-between;
        align-items: center;

        label {
          flex: 1;
        }

        select {
          flex: 1;
          padding: 4px;
        }
      }
    }

    .switch {
      position: relative;
      display: inline-block;
      width: 40px;
      height: 20px;

      input {
        opacity: 0;
        width: 0;
        height: 0;
      }

      .slider-round {
        position: absolute;
        cursor: pointer;
        top: 0; left: 0; right: 0; bottom: 0;
        background-color: #ccc;
        border-radius: 34px;
        transition: 0.4s;

        &::before {
          position: absolute;
          content: "";
          height: 14px;
          width: 14px;
          left: 3px;
          bottom: 3px;
          background-color: white;
          transition: 0.4s;
          border-radius: 50%;
        }
      }

      input:checked + .slider-round {
        background-color: #4caf50;
      }

      input:checked + .slider-round::before {
        transform: translateX(18px);
      }
    }
  }
